package com.jweb.framework.core.channel;

import com.jweb.framework.core.ContextEx;
import com.jweb.framework.core.CoreException;
/**
 * 修改人： Thomas
 * 修改内容：新增 
 * 类说明：渠道拦截器接口
 */
public interface ChannelInterceptor<Request,Response> {
	
	public void onRequest(ChannelContext<Request, Response> channelContext , ContextEx ctxEx) throws CoreException ;
	
	public void onResponse(ChannelContext<Request, Response> channelContext , ContextEx ctxEx , Throwable throwable) ;
	
}
